<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<MvcApplication1.Models.Books>>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Index
</asp:Content>

<asp:Content ID ="Content3" ContentPlaceHolderID ="HeadContent" runat ="server" >
    <link href ="../../Content/template_css.css" type="text/css" />
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div>
    <% foreach (var item in Model) { %>
        <div class="cover_img">
            <img alt="<%=item.Title %>" src="/Covers/<%=item.BookID%>.jpg" />
        </div>
        <div class="book_title"><%=item.Title%></div>
        <div class="press"><%=item.Press %></div>
    <% } %>
    </div>
</asp:Content>

